projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a067cd2
)
(update_frame): Only call sleep (outq / baud_rate) if baud_rate >= OUTQ.
author
Roland McGrath
<roland@gnu.org>
Wed, 15 Dec 1993 01:59:43 +0000
(
01:59
+0000)
committer
Roland McGrath
<roland@gnu.org>
Wed, 15 Dec 1993 01:59:43 +0000
(
01:59
+0000)
Calling sleep (0) causes a gratuitous delay on some systems.
src/dispnew.c
patch
|
blob
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index 5a9829f5f8d6e5ad4aeba3d0b1be95a1a01e2cf0..651e920969352ab678047bc3cac23236ceab98b3 100644
(file)
--- a/
src/dispnew.c
+++ b/
src/dispnew.c
@@
-1065,7
+1065,7
@@
update_frame (f, force, inhibit_hairy_id)
outq = PENDING_OUTPUT_COUNT (stdout);
#endif
outq *= 10;
- if (baud_rate >
0
)
+ if (baud_rate >
= outq
)
sleep (outq / baud_rate);
}
}